﻿using System.Collections.Generic;
using BO;
using Model;

namespace Controller
{
    /// <summary>
    /// Summary description for VYC24Controller
    /// </summary>
    public class VYC24Controller
    {
        private static VYC24BO _vyc24Bo;
        public VYC24Controller()
        {
            _vyc24Bo = new VYC24BO();
        }
        public List<ModelVYC24> GetAllList()
        {
            return _vyc24Bo.GetAllList();
        }
        public int AddData(ModelVYC24 model)
        {
            return _vyc24Bo.AddData(model);
        }
        public int EditData(ModelVYC24 model)
        {
            return _vyc24Bo.EditData(model);
        }
        public int DeleteData(ModelVYC24 model)
        {
            return _vyc24Bo.DeleteData(model);
        }
        public List<ModelVYC24> GetById(int id)
        {
            return _vyc24Bo.GetById(id);
        }
    }
}